<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class FourSubscribe extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'four_subscribe';

    function patient(){
        return $this->belongsTo(FourPatient::class,'patient_id');
    }
    function doctor(){
        return $this->belongsTo(FourDoctor::class,'doctor_id');
    }
    function department(){
        return $this->belongsTo(FourDepartment::class,'department_id');
    }

}
